<template>
  <el-aside width="200px">
    <el-menu router :unique-opened="true">
      <el-submenu index="consultationManage">
        <template slot="title">
          <i class="el-icon-menu"></i>
          <span>消息任务</span>
        </template>
        <el-menu-item index="consultationOrder" :route="{name:'ConsultationOrder'}">在线问诊</el-menu-item>
        <el-menu-item index="referralOrder" :route="{name:'ReferralOrder'}">转诊需求</el-menu-item>
      </el-submenu>
      <el-submenu index="historyManage">
        <template slot="title">
          <i class="el-icon-menu"></i>
          <span>历史订单</span>
        </template>
        <el-menu-item index="consultationList" :route="{name:'ConsultationList'}">在线记录</el-menu-item>
        <el-menu-item index="replyList" :route="{name:'ReplyList'}">转诊记录</el-menu-item>
      </el-submenu>
      <el-menu-item index="commissionList" :route="{name:'CommissionList'}">
        <i class="el-icon-menu"></i>
        <span slot="title">我的收益</span>
      </el-menu-item>
      <el-menu-item index="myAnswerList" :route="{name:'MyAnswerList'}">
        <i class="el-icon-menu"></i>
        <span slot="title">我的回答</span>
      </el-menu-item>
      <el-menu-item index="noticeList" :route="{name:'NoticeList'}">
        <i class="el-icon-menu"></i>
        <span slot="title">系统公告</span>
      </el-menu-item>
      <el-submenu index="feedbackManage">
        <template slot="title">
          <i class="el-icon-menu"></i>
          <span>问题反馈</span>
        </template>
        <el-menu-item index="feedbackAdd" :route="{name:'FeedbackAdd'}">提交反馈</el-menu-item>
        <el-menu-item index="feedbackList" :route="{name:'FeedbackList'}">历史反馈</el-menu-item>
      </el-submenu>
    </el-menu>
  </el-aside>
</template>

<script>
export default {
  name: 'Aside'
}
</script>
